package com.ruoyi.system.service.resp;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: ruohao
 * @Date: 2023/9/17
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ReplaceDTO extends BaseEntity {
    private Long id;
    private Long resourceId;
    @Excel(name = "菜单名称", cellType = Excel.ColumnType.STRING)
    private String resourceName;
    // 给h5开的字段
    private String name;
    private String image;
    @Excel(name = "审核状态", cellType = Excel.ColumnType.STRING)
    private String approveStatus;
    private Long approveMissionId;
    @Excel(name = "类型", cellType = Excel.ColumnType.STRING)
    private String type;
    @Excel(name = "价格", cellType = Excel.ColumnType.STRING)
    private BigDecimal price;
    @Excel(name = "单位", cellType = Excel.ColumnType.STRING)
    private String unit;
    @Excel(name = "启用状态", cellType = Excel.ColumnType.STRING)
    private String status;

    private Integer count;
    private String isYn;//1=显示图片  2不显示
}
